//
// Created by "huxiao" on 2025/5/26 10:08
//

#ifndef LOGIN_H
#define LOGIN_H

#include <QWidget>


QT_BEGIN_NAMESPACE

namespace Ui {
    class Login;
}

QT_END_NAMESPACE

class Login : public QWidget {
    Q_OBJECT

public:
    explicit Login(QWidget *parent = nullptr);

    ~Login() override;

signals:
    void transmitMsg(const QString &);

    void styleInfo(const QString &, QWidget *);

    void display(int);

private:
    Ui::Login *ui;

    QString m_username;
    QString m_password;
    int m_errorCount;
    int m_currentErrorCount;

    void init();
};


#endif //LOGIN_H
